-- GENERATED SPELL FOR [Rabid Shardtooth] --


function spell0_7446(pUnit, Event) --@Rabies,n/a--
pUnit:FullCastSpellOnTarget(3150,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7446', 0, 1)
end

function Sorts_7446(pUnit, Event)
local choix_sorts_7446 = math.random(0, 0)
if choix_sorts_7446 == 0 then
pUnit:RegisterEvent('spell0_7446', 1, 1)
end
end

function mob7446_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7446', math.random(1500, 3000), 1)
end

function mob7446_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7446_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7446_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7446, 1, 'mob7446_Action')
RegisterUnitEvent(7446, 2, 'mob7446_Leave')
RegisterUnitEvent(7446, 3, 'mob7446_Kill')
RegisterUnitEvent(7446, 4, 'mob7446_Die')
